]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - Super Polarity/Ship.cs
Implements polarity system
[rbdr/super-polarity] / Super Polarity / Ship.cs
diff --git a/Super Polarity/Ship.cs b/Super Polarity/Ship.cs
deleted file mode 100644 (file)
index 5105882..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using Microsoft.Xna.Framework;
-using Microsoft.Xna.Framework.Graphics;
-
-namespace SuperPolarity
-{
-    class Ship : Actor
-    {
-        public enum Polarity : byte { Negative, Positive, Neutral };
-
-        protected uint HP;
-        protected Polarity CurrentPolarity;
-
-        public void SwitchPolarity()
-        {
-            if (CurrentPolarity == Polarity.Positive)
-            {
-                CurrentPolarity = Polarity.Negative;
-            }
-            else
-            {
-                CurrentPolarity = Polarity.Positive;
-            }
-        }
-
-        public void SetPolarity(Polarity newPolarity)
-        {
-            CurrentPolarity = newPolarity;
-        }
-
-        public virtual void Shoot()
-        {
-        }
-    }
-}